package com.niit.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

// 相当于 springxxxx.xml文件
@Configuration // MyContainer这个类是一个配置类，用来配置容器
@ComponentScan(basePackages = {"com.niit"})
@EnableAspectJAutoProxy
public class MyContainer {
}
